Update endofnigthcode

changed straight forward so upon seeing a turn it breaks the straight forward while