A Procedure to Find Exact Critical Values of Kolmogorov-Smirnov Test