Added additional error checking

To fix: R to L, switch
Negative numbers done

asdf