Added the offset_updater function
Merge branch 'master' of https://github.com/willetsely/cosc301_proj03
Added offset_updater