Added code From CHERNO gameProgramming episodes 1 to 3