Edited the file to answer the assignement.