Adds left and right shift code; adds comments; adds another test.