first functional scrable score program and tests (no jquery)