LogicMain - Implement processInput()

The class is now able to detect what operation is required based on the
input (String) that is passed to it.