small binary counter app for raspi