Code, images and result pics for first half of assignment 6