Former lottery pick signs with Celtics