added asignment 3

works apart from an error with the session duration management