Small simulation of solar system in Java