Create get_beats_in_space.py