Initial variable drawing algorithm implemented.