Some principles of creating an electronic textbook on computer science