Performance upgrade

1. Replaced List<Tuple<Point, int>> Logger with Stack<LogItem> where
LogItem is a custom struct to make array access faster and more
efficient