added circle to line segment collisions detection code

Signed-off-by: bytechomper <bytechomper@gmail.com>