When my hamster needs exercise,  I put a plastic ball that allows him to run around the room safely.