Refactored Befunge interpreter

* Replaced the series of if statements on the instruction variable with
a lookup array containing function pointers.
* Moved the Befunge operator>> method from main.cc to Befunge.cc, where
it belongs logically.
* Improved error handling: actually print a helpful message and exit
gracefully instead of just throwing an exception.