added lab 2 sample code
add lab3 template code