refactor if conditions in getPronostic method
Make some method and parameter const keyword tagged.
Add a method comment
Remove serial prints, and make port as const