Removed drop statements and added replace to function definitions in Lab 10