added basic platform generation

fuck my life, finally a dynamic way for platforms