Completed HW03b - Completing Treasure and Leprechaun class by resolving compiler and style errors and by making sure test cases succeed