Moved typeToString and added int operators