This code computes trajectory of a stone