Commiting exercise on median