library containing functionality for contest tasks