Partial Work. Still Error
Divided into Functions #3
Removing the output file