method for getting random int. Made bubble border canvas