added and finished maxProfit function
Merge branch 'master' of https://github.com/WillemWillemWillem/impprog

Conflicts:
	week6/profit/profit.c