AssignmentUpdated31-8-2013

Added methods for file writing and getting the path in the assignment1
class (Not confirmed to work and haven't commented, so it's confusing)