Removed usage[]
Made some variables global
Added check_parameters()
Added check of CellsX to check_parameters()
Added check of CellsY to check_parameters()
Changed check of CellsY in check_parameters()
Made single check for CellsX and CellsY in check_parameters()
Added check of ImageXSize to check_parameters()
Added check of ImageYSize to check_parameters()
Little change in check_parameters()
Made path_to_git and num_of_commits global
Added check of path_to_git to check_parameters()
Added check of num_of_commits to check_parameters()