Cantor Set as a Fractal and Its Application in Detecting Chaotic Nature of Piecewise Linear Maps