added some validations and fixed the implementation of Pimp.cast to match the description of it by Domenic
added some validations and fixed the implementation of Pimp.cast to match the description of it by Domenic

zeusdeux/pimp