Simple turtle parser for "Pragmatic Programmer" exercise