Adding parser and tests for Exercise 49