documentation updated and now the number received is a string number
added algorithm
added testes for Acre state