add documentation and cleanup code
turn robot by 90 degrees