calculating marks for tasks, courses working. TODO: