changed the delay of move left right, fixed some code

Signed-off-by: Jefferson Cordero <jepjephooray05@gmail.com>