fixed typo, toString passes; also have main() method as of previous commit, forgot to mention it