Simulations about physical interactions using Python