Implement BST for static arrays
Add Scalastyle, fix warnings.