Created function createFrame in animator.js
Created function createFrame in animator.js

The function takes two arguments, an object and a frameToAppend and is going to be used recursively to parse the elements of the diagram object of the JSON FIle

DIT029Team08/SimulatorJS,DIT029Team08/SimulatorJS