Merge pull request #5 from denis-minchuk/master

fixed bug with circles, converted struct into class
fixed compilation error