BASIC code for a color-sensitive ball-grabbing robot