add documentation to shift_rows()
replace magic numbers with constants