added README to explain how to build and run the solution and how the solution works.
updated comments in main.cc and removed the previous in-code explanation of how the solution works.