Day 1

Code refactoring in newCoolTime and new calculation method for maxHack
with multihacks (wrong earlier).
Found bug in new calculation method for maxHack to be solved