Finished part 2 of agda tutorial