First attempt to write a program. Probably, not working. Documentetion is written