Refactored to create Instructions class

Methods to implement instructions placed in separate class, and CPU
class simplified