Implement parsing functions for rawtext layout input

Justin is working on a GUI for that the user can run to have a nice way
to generate the rawtext layout file, which will then be uploaded to the
Beaglebone and parsed by the testing program.

A sample is provided in sample_input.txt. Run the program on a rawtext
input to see the open/close status as the program is parsing it.