fixed win conditions and added a title screen