Changed the math a bit and changed the way the Date object is instanciated
I passed the date as separate parameters now I pass a string representing the date.
Adding gitignore