Fix false on success and zero on error

b_main was returning false upon success.

main in ex1 was returning zero upon b_main error.