changed change in color when button pressed and added direction button and corresponding JFrame pop up with the rules.