added test case to solveable? method, added corresponding tests
figured out how to speed up algorithm without performance issues, notes in development.rb