Created Gradle build file

created build file for gradle, also found null error in person 2's
output.