Completed dummy algorithm!!!

Finished version of dummy algorithm.