Made parsimonyCost method for Alignment class and tested it