Some code related with my learning process with spark