Java app that takes in three lengths and determines what kind of triangle, if any, they form