Adding shiftrows function. Removing trailing whitespace. Commented out old code.