added requestanimationframe function that fits all browsers/ also added main function that loops depending on elapsed time since the last render
Merge pull request #2 from kevinkang88/GAME_LOOP

added requestanimationframe function that fits all browsers/ also added ...