Algorithms and datastructures, labs 1-4 and assignment 1.