Essays on crime and discrimination