so this logic is needed for the code to find exactly from where to where the address starts and ends
the project is close to done, now i need to test it before that make the MakeFile then after testing the Readme.md and .gitignore file before making it public
ignore the errors google cloud shell have clang installed in default and well it is blind to which c++ i am using but i can build the files so i am okay to go.
worked to well or basically missed it, modern linux there are two systems PIE (position independent executable) and ASLR (Address Space layout randomization) which randomize the stack where the assembly code for our case is executed which is 0x5a38a5f1e009 but basically the runtime would have usually started from 0x00000000 or lower fixed number.