Added drawcircuit function and instructions