Learn Physics by Editing Worlds