inherit function uses Object.create, correct object instantiation, rewrite of main game loop in progress.