Create Sliding window max.java