Improved install and use packages and first regression tree routine

1. Updated LoadPackages.R to check for the existence of a package and
install it if required.
2. First stab at a regression tree