Completed 9 functions and updated html

Completed and verified 9 functions, updated html & finished flowchart
for assignment 4.