Java Program For Logical Thinking Test