Simple physics simulator in Python using vector processing written in C