Classes and numberOfPairs calculation

Placed methods into classes for reusability. Shrunk the main loop, and
changed commands for consistency. Added calculation for number of
permutations of the room. Added todo items to readme