Bowling game (2014-02 final term assignment)