Initial commit copied code for laboration 2