https://videosashka.com/watch/yFboyOwk2oM/how-to-use-malloc-to-dynamically-allocate-memory