file modifications, added clock

reworked memory manager to match the MBC3 structure, added the Clock
class