copy and paste code from personal assignment to use as a skeleton

copy and paste code from personal assignment to use as a skeleton