An Exposition of Discrete Morse Theory and Applications