Investigating Hidden Markov Models' Capabilities in 2D Shape Classification