added description

added a big comment at the top of the code that describes basic
functionality, etc