How To Create A Method That Returns An Array Java