fixed #1 added a Pais class
fixed #2 #3
fixed #4 fixed #5 fixed #6