Add functions: first_three, addVectors, and head'. Demonstrate use of pattern matching and error function.