upload sample code from lab5 project