locationchanger rubyfied

Wrote this in ruby