Added gradle and fixed person3

Added gradle file and fixed an error with person 3.java