Exlanation: The dog was always changing x by 10, meaning even if it faced left it would always move right. Added rotation style change (left-right) to correct dog rotation. Added math to move in the correct direction. Please notify me if anything else is required!