Beta version 1.00

Added function await(int) and advance()
Project is done according to task
I hope I do not use active waiting :P