Adding past java exercises and python exercises 1-4