An easy Algorithm intended for