Created Lab 6 code, and started writing functions