Added and updated code lab 4.