added Logs folder to .gitignore
using contestId field in other fucntions as well to calculate the difficulty of the problem