Writing and Reading program - upvote oriented