Added function that includes all steps for a figure move