First Commit for Lab 5 Exercise 1a (+improvement on other labs)