refactored GeekForGeeks file to Arrays. Added playground.js