Judge launches pilot program to help homeless