added null checks after get Neighbor calls
Stream usage optimisations

Added using statements where needed and changed a few method where
streams were being left open
Removed If statement from previous check in.
removed bufferedstreams from filestreams as they are not needed
Merge pull request #19 from dmportella/master

Stream Optimisations