public class Day5 { public static void main(String[] args) { //*******************************************// // ========== Day 5 - Part 1 ========== // //*******************************************// // my puzzel input String maze = "0\r\n" + "3\r\n" + "0\r\n" + "1\r\n" + "-3\r\n"; // splitting the puzzel input into lines String[] lines = maze.split("\r\n|\r|\n"); // creating an integer array with all the number from the line string int[] trampolin = new int[lines.length]; for (int i=0; i