Adding collapsebed program and updating Makefile correspondingly.