added max element exercise to repo