created file to check when to send a message
finished the program