command line program that simulates physics (poorly)