Assignment code for Karel J Robot (Stanford cs106A)