Finished writing parser; now to debug...
Test code added.