Serial/Sequential version of algorithm