Added Functionalities that could differentiate branches in the FP tree and also a test function that would be removed in near future after the functionalities start to function as expected