Implemented basic scheduler (insertion sort).
Task query is set via Norm() function - and oldest function starts first (with the same priority).