prevent object pointer issue

moved log assignment to the constructor to ensure a new log array is created for each MoveLog instance rather than sharing one array on the prototype.