Added toString methods and checked for all code to be there.