move hexagram javascipt from main qml

created first include javascript file hexagram.js