Here is the code, its pretty simple actually,which would make sense, since its just circles. If F is set to 0, the circle is not filled. If F is set to 1, then the circle is filled.