Update Shifter.v

Fix a bug with arithmetic shifter. Also I updated the method for use verilog shifter instead for/while statements.