Made the goal class and made a test suite for the goal class.