Add brank line among function
Rename some function and variable name
Create start and stop state functions from a toggle_state function
Fix the bugs
Create function that open a file
Change the if statement's term
Change append statement to extend statement
Use open_file function from machine_info.py