solve black jack exercise