My Proposed Algorithm

Please note, I created this algorithm before the class discussion. It is highly likely that the algorithm produced in class will be different.