ball spawn timer is reset. Updated documentation. Reformatted code