Implemented method to score tree
Added test for score tree
Move array implementation into own ns