fixed dyalizer errors
added tuple validation
Merge pull request #2 from HernanRivasAcosta/hernan.tuple_validation

Hernan.tuple validation