hexed.js

calculate_score function works now