Add some comments to code provided.
Add basic version of exercise 2.

Condition for space before input needs to be implemented. Should also have this stored in shared memory. Should also be able to take user input.