Implement rect intersecr
Code::Blocks