Multidimensional Kolmogorov-Petrovsky test for the boundary regularity and irregularity of solutions to the heat equation. (12th June 2005)