Different serial uses available.
In this version, basically I have done the following:
- Enabled to use different serial options as specified in the README.
- Formatted the code entirely using black.
- Print changed by logging, logging added as dependency.