Added a test for the new farmer class and debugged
somewhat.