Added  calculations in main activity. Going to learn GridView now.