Change Processing code to p5.js

Hi @chloe,

did you mispelled x_pos and y_pos ?

this.released = function() { 
    this.move = false; 
    this.rest_posx = this.x_pos;
    this.rest_posy = this.y_pos;
  }