Cleaned up the code so that it builds successfully.
Working on the buyHouse function