some work

- changed some protection on methods
- fixed bug int print() where it printed the array transformed
- added findConnections()