code

Code to the problems