Finished coding part of assign1, started written part