Luck has nothing to do with it. My family was below Poverty when I was in school. I was on free school meals for many years.
That doesn't stop me from getting a 1380 on my SAT (580 verbal, 800 math). Get a scholarship to college and get duel degrees in Computer Science and Electrical Engineering.