Pseudocode for Verkefni 2