Added a few functions and Counter activity file

Added function to read and write to and from a txt file. ListView will
update when user adds a new counter.