Finished hw with eextra credit