creating

most of this code is from the assignment and not mine