I need some assistance in implementation of 1R algorithm with any example.