Finished left-shift and right-shift. Also added printing functions