improved homework function
Merge branch 'master' of https://github.com/N4IR0/new-classpage

Conflicts:
	inc/functions.inc.php
Merge branch 'master' of https://github.com/N4IR0/new-classpage