2nd Commit with Hash/Dictionary and binary shift implementation