FirstTime

All basic functions were built.
secondTime

Try to understand how it works.