Corrected typo in "rol" function, added "x"