Nearly 1,000 men have been locked up in detention camp in Papua New Guinea since they tried to reach Australia by boat.