Almost 100% working
Algorithm works OK