Random code to help me learn basic physics