beaglebone: bare metal c example added

Signed-off-by: Samuel Casa <samuelcasa9@gmail.com>