Software carpentry teaching excercise 6.5