Update script.js

wrote some logic to center words within the hexagon based on their length, values are estimates and is not perfect, some lengths are still uncentered