Simple program in Core Java, which can calculate how many points is inside figure, described by four pojnts on coordinate system