Counting of Shortest Paths in Cubic Grid