Added Data Logger funcitonality, program now logs data to SD card after every half a minute