Lab 2 Code