repaired first 4 tests and wrote code to match in library.rb
code and tests completed for 10 of the tests
committing since only 4 pending tests left
finishedgit diff!