fixed #6 - make random move