added normal horizontal and vertical move
added many changes with logic of emulation