Finished assign3 script