In1To10
Given a number n, return true if n is in the range 1..10, inclusive. Unless
"outsideMode" is true, in which case return true if the number is less or
equal to 1, or greater or equal to 10.
Este exercício foi convertido para o PLM do excelente sítio de
exercícios http://javabat.com/