Recommended reading: http://www.javaprogrammingforums.com/cafe/10753-how-program-stuck-homework-read-before-posting.html