finished lab4.txt and final algo commit