Started Problem Eight

Works for small number and window of length 2.