pub fn calculate_grid_size(problem_size: usize, block_size: usize) -> usize
Calculate grid size for given problem and block size