Printing out coordinates object from accelerometer